Optimal. Leaf size=229 \[ \frac {b d e x \sqrt {1-c^2 x^2}}{2 c}+\frac {3 b e^2 x \sqrt {1-c^2 x^2}}{32 c^3}+\frac {b e^2 x^3 \sqrt {1-c^2 x^2}}{16 c}-\frac {b d e \text {ArcSin}(c x)}{2 c^2}-\frac {3 b e^2 \text {ArcSin}(c x)}{32 c^4}-\frac {1}{2} i b d^2 \text {ArcSin}(c x)^2+d e x^2 (a+b \text {ArcSin}(c x))+\frac {1}{4} e^2 x^4 (a+b \text {ArcSin}(c x))+b d^2 \text {ArcSin}(c x) \log \left (1-e^{2 i \text {ArcSin}(c x)}\right )-b d^2 \text {ArcSin}(c x) \log (x)+d^2 (a+b \text {ArcSin}(c x)) \log (x)-\frac {1}{2} i b d^2 \text {PolyLog}\left (2,e^{2 i \text {ArcSin}(c x)}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.24, antiderivative size = 229, normalized size of antiderivative = 1.00, number of steps
used = 14, number of rules used = 12, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.571, Rules used = {272, 45,
4815, 6874, 327, 222, 2363, 4721, 3798, 2221, 2317, 2438} \begin {gather*} d^2 \log (x) (a+b \text {ArcSin}(c x))+d e x^2 (a+b \text {ArcSin}(c x))+\frac {1}{4} e^2 x^4 (a+b \text {ArcSin}(c x))-\frac {3 b e^2 \text {ArcSin}(c x)}{32 c^4}-\frac {b d e \text {ArcSin}(c x)}{2 c^2}-\frac {1}{2} i b d^2 \text {Li}_2\left (e^{2 i \text {ArcSin}(c x)}\right )-\frac {1}{2} i b d^2 \text {ArcSin}(c x)^2+b d^2 \text {ArcSin}(c x) \log \left (1-e^{2 i \text {ArcSin}(c x)}\right )-b d^2 \log (x) \text {ArcSin}(c x)+\frac {b d e x \sqrt {1-c^2 x^2}}{2 c}+\frac {b e^2 x^3 \sqrt {1-c^2 x^2}}{16 c}+\frac {3 b e^2 x \sqrt {1-c^2 x^2}}{32 c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 222
Rule 272
Rule 327
Rule 2221
Rule 2317
Rule 2363
Rule 2438
Rule 3798
Rule 4721
Rule 4815
Rule 6874
Rubi steps
\begin {align*} \int \frac {\left (d+e x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )}{x} \, dx &=d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)-(b c) \int \frac {d e x^2+\frac {e^2 x^4}{4}+d^2 \log (x)}{\sqrt {1-c^2 x^2}} \, dx\\ &=d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)-(b c) \int \left (\frac {d e x^2}{\sqrt {1-c^2 x^2}}+\frac {e^2 x^4}{4 \sqrt {1-c^2 x^2}}+\frac {d^2 \log (x)}{\sqrt {1-c^2 x^2}}\right ) \, dx\\ &=d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)-\left (b c d^2\right ) \int \frac {\log (x)}{\sqrt {1-c^2 x^2}} \, dx-(b c d e) \int \frac {x^2}{\sqrt {1-c^2 x^2}} \, dx-\frac {1}{4} \left (b c e^2\right ) \int \frac {x^4}{\sqrt {1-c^2 x^2}} \, dx\\ &=\frac {b d e x \sqrt {1-c^2 x^2}}{2 c}+\frac {b e^2 x^3 \sqrt {1-c^2 x^2}}{16 c}+d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )-b d^2 \sin ^{-1}(c x) \log (x)+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)+\left (b d^2\right ) \int \frac {\sin ^{-1}(c x)}{x} \, dx-\frac {(b d e) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx}{2 c}-\frac {\left (3 b e^2\right ) \int \frac {x^2}{\sqrt {1-c^2 x^2}} \, dx}{16 c}\\ &=\frac {b d e x \sqrt {1-c^2 x^2}}{2 c}+\frac {3 b e^2 x \sqrt {1-c^2 x^2}}{32 c^3}+\frac {b e^2 x^3 \sqrt {1-c^2 x^2}}{16 c}-\frac {b d e \sin ^{-1}(c x)}{2 c^2}+d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )-b d^2 \sin ^{-1}(c x) \log (x)+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)+\left (b d^2\right ) \text {Subst}\left (\int x \cot (x) \, dx,x,\sin ^{-1}(c x)\right )-\frac {\left (3 b e^2\right ) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx}{32 c^3}\\ &=\frac {b d e x \sqrt {1-c^2 x^2}}{2 c}+\frac {3 b e^2 x \sqrt {1-c^2 x^2}}{32 c^3}+\frac {b e^2 x^3 \sqrt {1-c^2 x^2}}{16 c}-\frac {b d e \sin ^{-1}(c x)}{2 c^2}-\frac {3 b e^2 \sin ^{-1}(c x)}{32 c^4}-\frac {1}{2} i b d^2 \sin ^{-1}(c x)^2+d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )-b d^2 \sin ^{-1}(c x) \log (x)+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)-\left (2 i b d^2\right ) \text {Subst}\left (\int \frac {e^{2 i x} x}{1-e^{2 i x}} \, dx,x,\sin ^{-1}(c x)\right )\\ &=\frac {b d e x \sqrt {1-c^2 x^2}}{2 c}+\frac {3 b e^2 x \sqrt {1-c^2 x^2}}{32 c^3}+\frac {b e^2 x^3 \sqrt {1-c^2 x^2}}{16 c}-\frac {b d e \sin ^{-1}(c x)}{2 c^2}-\frac {3 b e^2 \sin ^{-1}(c x)}{32 c^4}-\frac {1}{2} i b d^2 \sin ^{-1}(c x)^2+d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )+b d^2 \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )-b d^2 \sin ^{-1}(c x) \log (x)+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)-\left (b d^2\right ) \text {Subst}\left (\int \log \left (1-e^{2 i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )\\ &=\frac {b d e x \sqrt {1-c^2 x^2}}{2 c}+\frac {3 b e^2 x \sqrt {1-c^2 x^2}}{32 c^3}+\frac {b e^2 x^3 \sqrt {1-c^2 x^2}}{16 c}-\frac {b d e \sin ^{-1}(c x)}{2 c^2}-\frac {3 b e^2 \sin ^{-1}(c x)}{32 c^4}-\frac {1}{2} i b d^2 \sin ^{-1}(c x)^2+d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )+b d^2 \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )-b d^2 \sin ^{-1}(c x) \log (x)+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)+\frac {1}{2} \left (i b d^2\right ) \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 i \sin ^{-1}(c x)}\right )\\ &=\frac {b d e x \sqrt {1-c^2 x^2}}{2 c}+\frac {3 b e^2 x \sqrt {1-c^2 x^2}}{32 c^3}+\frac {b e^2 x^3 \sqrt {1-c^2 x^2}}{16 c}-\frac {b d e \sin ^{-1}(c x)}{2 c^2}-\frac {3 b e^2 \sin ^{-1}(c x)}{32 c^4}-\frac {1}{2} i b d^2 \sin ^{-1}(c x)^2+d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )+b d^2 \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )-b d^2 \sin ^{-1}(c x) \log (x)+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)-\frac {1}{2} i b d^2 \text {Li}_2\left (e^{2 i \sin ^{-1}(c x)}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.22, size = 218, normalized size = 0.95 \begin {gather*} \frac {1}{4} \left (4 a d e x^2+a e^2 x^4+4 b d e x^2 \text {ArcSin}(c x)+b e^2 x^4 \text {ArcSin}(c x)+\frac {b e^2 \left (c x \sqrt {1-c^2 x^2} \left (3+2 c^2 x^2\right )-6 \text {ArcTan}\left (\frac {c x}{-1+\sqrt {1-c^2 x^2}}\right )\right )}{8 c^4}+\frac {2 b d e \left (c x \sqrt {1-c^2 x^2}-2 \text {ArcTan}\left (\frac {c x}{-1+\sqrt {1-c^2 x^2}}\right )\right )}{c^2}+4 b d^2 \text {ArcSin}(c x) \log \left (1-e^{2 i \text {ArcSin}(c x)}\right )+4 a d^2 \log (x)-2 i b d^2 \left (\text {ArcSin}(c x)^2+\text {PolyLog}\left (2,e^{2 i \text {ArcSin}(c x)}\right )\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.31, size = 262, normalized size = 1.14
method | result | size |
derivativedivides | \(a d e \,x^{2}+\frac {a \,e^{2} x^{4}}{4}+a \,d^{2} \ln \left (c x \right )-\frac {i b \,d^{2} \arcsin \left (c x \right )^{2}}{2}+b \,d^{2} \arcsin \left (c x \right ) \ln \left (1-i c x -\sqrt {-c^{2} x^{2}+1}\right )+b \,d^{2} \arcsin \left (c x \right ) \ln \left (1+i c x +\sqrt {-c^{2} x^{2}+1}\right )-i b \,d^{2} \polylog \left (2, -i c x -\sqrt {-c^{2} x^{2}+1}\right )-i b \,d^{2} \polylog \left (2, i c x +\sqrt {-c^{2} x^{2}+1}\right )+\frac {b \arcsin \left (c x \right ) e^{2} \cos \left (4 \arcsin \left (c x \right )\right )}{32 c^{4}}-\frac {b \,e^{2} \sin \left (4 \arcsin \left (c x \right )\right )}{128 c^{4}}-\frac {b \arcsin \left (c x \right ) \cos \left (2 \arcsin \left (c x \right )\right ) d e}{2 c^{2}}-\frac {b \arcsin \left (c x \right ) \cos \left (2 \arcsin \left (c x \right )\right ) e^{2}}{8 c^{4}}+\frac {b \sin \left (2 \arcsin \left (c x \right )\right ) d e}{4 c^{2}}+\frac {b \sin \left (2 \arcsin \left (c x \right )\right ) e^{2}}{16 c^{4}}\) | \(262\) |
default | \(a d e \,x^{2}+\frac {a \,e^{2} x^{4}}{4}+a \,d^{2} \ln \left (c x \right )-\frac {i b \,d^{2} \arcsin \left (c x \right )^{2}}{2}+b \,d^{2} \arcsin \left (c x \right ) \ln \left (1-i c x -\sqrt {-c^{2} x^{2}+1}\right )+b \,d^{2} \arcsin \left (c x \right ) \ln \left (1+i c x +\sqrt {-c^{2} x^{2}+1}\right )-i b \,d^{2} \polylog \left (2, -i c x -\sqrt {-c^{2} x^{2}+1}\right )-i b \,d^{2} \polylog \left (2, i c x +\sqrt {-c^{2} x^{2}+1}\right )+\frac {b \arcsin \left (c x \right ) e^{2} \cos \left (4 \arcsin \left (c x \right )\right )}{32 c^{4}}-\frac {b \,e^{2} \sin \left (4 \arcsin \left (c x \right )\right )}{128 c^{4}}-\frac {b \arcsin \left (c x \right ) \cos \left (2 \arcsin \left (c x \right )\right ) d e}{2 c^{2}}-\frac {b \arcsin \left (c x \right ) \cos \left (2 \arcsin \left (c x \right )\right ) e^{2}}{8 c^{4}}+\frac {b \sin \left (2 \arcsin \left (c x \right )\right ) d e}{4 c^{2}}+\frac {b \sin \left (2 \arcsin \left (c x \right )\right ) e^{2}}{16 c^{4}}\) | \(262\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b \operatorname {asin}{\left (c x \right )}\right ) \left (d + e x^{2}\right )^{2}}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )\,{\left (e\,x^2+d\right )}^2}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________